package com.example.cheeseerpadmin.bus.vo;

import com.example.cheeseerpadmin.bus.entity.BusInport;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
public class InportVo extends BusInport {
    private static final long serialVersionUID = 1L;

    private Integer page;
    private Integer limit;

    //查询：开始时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startDate;
    //查询：结束时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endDate;
}
